<script setup>
import { ref } from "vue";
import { invoke } from "@tauri-apps/api/core";
import top from "./compontes/top.vue"
const greetMsg = ref("");
const name = ref("");

async function greet() {
  // Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
  greetMsg.value = await invoke("greet", { name: name.value });
}
</script>

<template>
  <top/>
    <router-view />
</template>

<style>
*{
  padding: 0;
  margin: 0;
}

</style>

